package com.example.neteasecloudmusic_kotlin

import com.example.neteasecloudmusic_kotlin.logic.model.HomePageEntity
import com.example.neteasecloudmusic_kotlin.logic.network.HomePageService
import com.example.neteasecloudmusic_kotlin.logic.network.ServiceCreator
import org.junit.Test

import org.junit.Assert.*
import javax.security.auth.callback.Callback

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
        val homePageService = ServiceCreator.create<HomePageService>()
        var homePage = homePageService.getHomePage()
    }
}